<template>
  <div>
    我是父组件
    <SonComponent />
    <DaughterComponent />
  </div>
</template>

<script>
// import SonComponent from '@components/SonComponent.vue'
// 儿子子组件
import SonComponent from "../components/SonComponent.vue";
// 女儿子组件
import DaughterComponent from "../components/DaughterComponent.vue";

export default {
  // 注册子组件
  components: {
    SonComponent,
    DaughterComponent
  }
  
};
</script>

<style>
</style>